package com.hz.airline.dao;

import com.hz.airline.entity.UserTripSummary;
import org.springframework.data.repository.CrudRepository;

/**
 * Created by kevin on 2020/2/2 17:06
 */
public interface UserTripSummaryDao extends CrudRepository<UserTripSummary, Integer> {

    UserTripSummary findByUsernameAndIdnumber(String username, String idnumber);

    UserTripSummary findByUsernameAndIdnumberAndUserid(String username, String idnumber,String userid);

}
